Shipping Labels: Fix the UI glitch on the shipment detail bottom sheet #15940
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Closes WOOMOB-648
Description
There is a UI glitch on the shipment detail bottom sheet when swiping the app to the background while the purchase form is displayed.
When swiping the app, the drag gesture on the bottom sheet is triggered but never ends due to the app resigning from the active state.
This PR fixes the glitch by resetting the
revealContentDuringDragstate to false when the app re-enters the foreground. This makes sure that the bottom sheet is reset to its pre-dragged state.Testing steps
Testing information
Tested and confirmed with iPhone 16 Pro iOS 18.3.
Screenshots
Before:
ScreenRecording_07-23-2025.14-58-27_1.mov
After:
ScreenRecording_07-23-2025.14-55-51_1.mov
RELEASE-NOTES.txtif necessary.